Function Reference

_HexToString

Convert a hex string to a string.

#include <String.au3>
_HexToString( strHex )

 

Parameters

strHex
    an hexadecimal string

 

Return Value

Success: Returns a string.
Failure: Returns -1 and sets @error to 1.

 

Remarks

None.

 

Related

_StringToHex

 

Example


#include <string.au3>
$String = "I like AutoIt3"
$Hex = _StringToHex($String)
MsgBox(0, "Hex", "Original String: " & $String & @LF & " Hex: " & $Hex)

$Hex = "49206C696B65204175746F497433"
$String = _HexToString($Hex)
MsgBox(0, "Hex", "Original Hex: " & $Hex & @LF & " String: " & $String)